projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d869c
)
gtkmenu: Use symbolic names for button numbers
author
Carlos Garcia Campos
<cgarcia@igalia.com>
Wed, 25 Jan 2012 17:36:12 +0000
(18:36 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Fri, 27 Jan 2012 08:47:43 +0000
(09:47 +0100)
gtk/gtkmenu.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenu.c
b/gtk/gtkmenu.c
index 946e438ffd6d508ff6dd078674ee779a54fcc17e..22347899377fa1754f1f71cfee189bb2b29af31a 100644
(file)
--- a/
gtk/gtkmenu.c
+++ b/
gtk/gtkmenu.c
@@
-75,7
+75,7
@@
* if (event->type == GDK_BUTTON_PRESS)
* {
* event_button = (GdkEventButton *) event;
- * if (event_button->button ==
3
)
+ * if (event_button->button ==
GDK_BUTTON_SECONDARY
)
* {
* gtk_menu_popup (menu, NULL, NULL, NULL, NULL,
* event_button->button, event_button->time);